/* macOS风格基础设置 */
.root {
    -fx-font-family: 'Segoe UI', 'San Francisco', -apple-system, sans-serif;
    -fx-font-size: 13px;
    -fx-text-fill: #333333;
}

/* 主窗口背景 - macOS浅灰色调 */
.border-pane {
    -fx-background-color: #f5f5f7;
    -fx-background-radius: 10px;
    -fx-border-radius: 10px;
    -fx-border-width: 1px;
    -fx-border-color: #e2e2e2;
    -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.05), 8, 0, 0, 2);
}

/* macOS风格按钮 */
.macos-button {
    -fx-background-color: #f5f5f7;
    -fx-border-color: #d2d2d7;
    -fx-border-radius: 8px;
    -fx-background-radius: 8px;
    -fx-text-fill: #1d1d1f;
    -fx-padding: 8px 16px;
    -fx-font-size: 13px;
    -fx-cursor: hand;
    -fx-transition: all 0.2s ease;
}

/* 主要按钮样式 */
.macos-primary-button {
    -fx-background-color: #0071e3;
    -fx-border-color: #0071e3;
    -fx-text-fill: white;
}

/* 按钮悬停效果 */
.macos-button:hover {
    -fx-background-color: #ebebeb;
    -fx-border-color: #c7c7cc;
}

.macos-primary-button:hover {
    -fx-background-color: #0077ed;
    -fx-border-color: #0077ed;
}

/* 按钮按压效果 */
.macos-button:pressed {
    -fx-background-color: #d2d2d7;
}

.macos-primary-button:pressed {
    -fx-background-color: #0066d6;
}

/* 文本输入框 - macOS风格 */
.macos-text-field {
    -fx-background-color: white;
    -fx-border-color: #d2d2d7;
    -fx-border-radius: 8px;
    -fx-background-radius: 8px;
    -fx-padding: 10px 12px;
    -fx-font-size: 13px;
    -fx-effect: innershadow(three-pass-box, rgba(0,0,0,0.03), 2, 0, 0, 1);
    -fx-transition: border-color 0.2s ease;
}

.macos-text-field:focused {
    -fx-border-color: #0071e3;
    -fx-outline: none;
}

/* 文本区域样式 */
.macos-text-area {
    -fx-background-color: white;
    -fx-border-color: #d2d2d7;
    -fx-border-radius: 8px;
    -fx-background-radius: 8px;
    -fx-padding: 12px;
    -fx-font-family: 'SF Mono', 'Consolas', monospace;
    -fx-font-size: 12px;
    -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.03), 3, 0, 0, 1);
}

/* 进度条样式 - macOS风格 */
.macos-progress-bar .bar {
    -fx-background-color: #0071e3;
    -fx-background-radius: 4px;
    -fx-padding: 4px;
}

.macos-progress-bar .track {
    -fx-background-color: #e2e2e7;
    -fx-background-radius: 4px;
}

/* 标签样式 */
.macos-label {
    -fx-text-fill: #1d1d1f;
    -fx-font-size: 13px;
    -fx-font-weight: 500;
}

/* 输入面板 - 卡片式设计 */
.input-card {
    -fx-background-color: white;
    -fx-background-radius: 12px;
    -fx-padding: 20px;
    -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.05), 5, 0, 0, 1);
}

/* 状态栏 */
.status-bar {
    -fx-background-color: #f5f5f7;
    -fx-border-color: #e2e2e2;
    -fx-border-width: 1px 0 0 0;
    -fx-padding: 8px 16px;
    -fx-font-size: 12px;
    -fx-text-fill: #6e6e73;
}